﻿using System.Data;

namespace MyTech.DataAccess.Common
{
    public interface IDatabase
    {
        int? ExecuteNonQuery(string sqlStmt);
        DataSet ExecuteReader(string sqlStmt);
        DataSet ExecuteReader(string sqlStmt,SpParams spParams);
        object ExecuteScalar(string sqlStmt);

        DbObjectType DbType { get; }
    }
}
